<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
</head>
<body>
	<canvas id="mycanvas" width="500px" height="500px" style="border:1px solid #ccc"></canvas>

</body>
</html>
<script type="text/javascript">
	var canvas = document.getElementById("mycanvas");
	var context = canvas.getContext('2d');
	context.beginPath();
	context.moveTo(20,20);
	context.bezierCurveTo(20,100,200,100,200,20)
	context.stroke()
</script>